(function() {
    var getScriptArgs = function() {
        var scripts = document.getElementsByTagName("script");
        var script = scripts[scripts.length - 1],
            src = script.src,
            reg = /(?:\?|&)(.*?)=(.*?)(?=&|$)/g,
            temp, res = {};
        while ((temp = reg.exec(src)) != null) res[temp[1]] = decodeURIComponent(temp[2]);
        return res
    };
    var args = getScriptArgs();
    var linkLiArr = [],
        num = args.num;
    if (!num || num <= 0) {
        num = "10"
    }
    var linkLi = '<li class="num1"><a title="宿州文明二十条"  href="javascript:void(0)" style="cursor: default;"  tabindex="-1"> <img src="/mongo/5b45c746b760a9b220a542cb.jpg"  width="240"   height="136"  border="0" alt="宿州文明二十条">    <span class="img_title img-title">宿州文明二十条</span> </a> </li>';
    linkLiArr.push(linkLi);
    var linkLi = '<li class="num2"><a title="宿州市清理拖欠民营企业中小企业账款投诉举报"  href="http://eic.ahsz.gov.cn/16524465/62966794.html" target="_blank"  tabindex="-1"> <img src="/mongo/5caac348b760eb97c374b50f.jpg"  width="240"   height="136"  border="0" alt="宿州市清理拖欠民营企业中小企业账款投诉举报">    <span class="img_title img-title">宿州市清理拖欠民营企业中小企业账款投诉举报</span> </a> </li>';
    linkLiArr.push(linkLi);
    var printContent = function() {
        var length = linkLiArr.length;
        if (num > length) {
            num = length
        }
        if (linkLiArr.length > 0) {
            for (var i = 0; i < num; i++) {
                document.write(linkLiArr[i])
            }
        }
    }()
})()